CREATE TABLE [dbo].[TypeEvent]
(
[Ik_TypeEvent] [int] NOT NULL IDENTITY(1, 1),
[NameType] [varchar] (30) COLLATE Cyrillic_General_CI_AS NOT NULL
)
CREATE NONCLUSTERED INDEX [idx_Ik_TypeEvent] ON [dbo].[TypeEvent] ([Ik_TypeEvent])

GO
ALTER TABLE [dbo].[TypeEvent] ADD CONSTRAINT [TypeEventPrimary] PRIMARY KEY CLUSTERED  ([Ik_TypeEvent])
GO
ALTER TABLE [dbo].[TypeEvent] ADD CONSTRAINT [TypeEventNameTypeUnique] UNIQUE NONCLUSTERED  ([NameType])
GO
